package com.ruoyi.common.enums;

/**
 * 扫描二维码状态
 * 
 * @author ruoyi
 */
public enum QrCodeStatusEnum
{
    UN_SCAN(0, "未扫码"), SCAN_NO_AUTH(1, "已扫码未授权"), EXPIRED(3, "已过期"), SCAN_AUTH(4, "已扫码已授权");

    private final Integer code;
    private final String desc;

    QrCodeStatusEnum(Integer code, String desc)
    {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getDesc()
    {
        return desc;
    }
}
